<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>运城市安全生产隐患排查治理信息系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath%>/css/style.css" rel="stylesheet" type="text/css"/>
	<script src="<%=basePath%>/js/js.js" type="text/javascript"></script>
  </head>
  
 <body>
<div id="allbody">
	<div class="head">
		<iframe src="<%=basePath%>/head.jsp" width="1160" height="218" scrolling="no" frameborder="0" ></iframe>
	</div>
	<div class="con">
		<div class="left">
			<div class="left_info">
				<iframe src="<%=basePath%>/left_info.jsp" width="244" id="iframeleft_top"  onLoad="iFrameHeight()"  scrolling="no" frameborder="0" ></iframe>
			</div>
			<div class="left_link">
				<iframe src="<%=basePath%>/corp_left.jsp" width="244" id="iframeleft_link"  onLoad="iFrameHeight2()" scrolling="no" frameborder="0" ></iframe>
			</div>
		</div>
		<div class="right">
			<div class="right_map"><a href="<%=basePath%>/corp/index.action">首页</a> &gt; <span><a href="<%=basePath%>/enterprise/corp_lookInfo.action">企业基本信息</a></span></div>
			<div class="right_list">
				<table border="0" cellpadding="0" cellspacing="0" align="center" class="corplist">
					<tr class="tit">
						<th width="10"> </th>
						<th width="120" class="xx_ab"><a href="<%=basePath%>/enterprise/corp_lookInfo.action">企业基本信息</a></th>
						<th width="120" class="xx_ab"><a href="<%=basePath%>/enterprise/pic_list.action">企业图片信息</a></th>
						<th width="120" class="xx_now">企业人员信息</th>
						<th style="text-align:right;padding-right:10px;"> <li><a href="<%=basePath%>/enterprise/corp_toAddPer.action">添加人员</a></li></th>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" align="center" class="infolist">
					<tr class="cz">
						<th width="5%">序号</th>
						<th width="10%">姓名</th>
						<th width="5%">性别</th>
						<th width="15%">手机</th>
						<th width="15%">电话</th>
						<th width="10%">人员类别</th>
						<th width="10%">学历</th>
						<th width="10%">培训情况</th>
						<th width="10%">工作年限</th>
						<th width="10%" style="border-right:none">操作</th>
					</tr>
					<s:if test="%{objList.size>0}">
					  	<s:iterator id="obj" value="objList" status="x">
					  		<tr class="cz">
								<td>${x.index+1+(page.num-1)*page.size}</td>
								<td><a href="<%=basePath%>/enterprise/corp_toLookPer.action?perId=${obj.id}">${obj.perName }</a></td>
								<td>${obj.perSex==1?'男':'女' }</td>
								<td>${obj.perMobile }</td>
								<td>${obj.perPhone }</td>
								<td>
									<s:if test="#obj.perType==1">法定代表人</s:if>
									<s:if test="#obj.perType==2">主要负责人</s:if>
									<s:if test="#obj.perType==3">安全负责人</s:if>
									<s:if test="#obj.perType==4">安全管理人员</s:if>
									<s:if test="#obj.perType==5">特种作业人员</s:if>
									<s:if test="#obj.perType==6">关键装置重点部位人员</s:if>
									<s:if test="%{#obj.position != null}">
										(<s:property value="#obj.position"/>)
									</s:if>
								</td>
								<td><s:select list="#{'1':'小学','2':'初中','3':'高中',4:'大专','5':'本科','6':'研究生','7':'博士'}" name="perDegree" value="#obj.perDegree" disabled="true" theme="simple" cssStyle="width:55px;"></s:select></td>
								<td>${obj.perTraining }</td>
								<td>${obj.perWorkingYear }年</td>
								<td>
									<a href="<%=basePath%>/enterprise/corp_toEditPer.action?perId=${obj.id }">修改</a>
									<a href="<%=basePath%>/enterprise/corp_toLookPer.action?perId=${obj.id}">查看</a>
									<s:if test="#obj.perType==4">|<a href="<%=basePath%>/enterprise/corp_delPer.action?perId=${obj.id }">删除</a></s:if>
								</td>
							</tr>
					  		
					  	</s:iterator>						  
					</s:if>
					<s:else>
					 	<tr>
							<td colspan="2" height="40" style="border:none;text-align:center">
							  	没有数据
							</td>
						</tr>
					</s:else>
					
					
					<!--<tr>
						<td colspan="3" style="border:none;text-align:center"> 没有图片 </td>
					</tr>-->
				</table>
				<!-- 
				<div class="page">
					<jsp:include flush="true" page="../share/fenye.jsp">
			       		<jsp:param name="url4page" value="/enterprise/pic_preList.action" />
		         	</jsp:include>
				</div> -->
			</div>
		</div>
	</div>
	<div class="foot">
		<iframe src="<%=basePath%>/foot.html" width="1160" height="89" scrolling="no" frameborder="0" ></iframe>
	</div>
</div>
<s:if test="%{tip!=null}">
	<script>
		alert('${tip}');
	</script>
</s:if>
</body>
</html>
